package cn.ujn.medicalbackend.service;

import cn.ujn.medicalbackend.domain.Material;
import cn.ujn.medicalbackend.request.MaterialAddRequest;
import cn.ujn.medicalbackend.request.MaterialDeleteRequest;
import cn.ujn.medicalbackend.request.MaterialUpdateRequest;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import jakarta.servlet.http.HttpServletRequest;

/**
* @author 15926
* @description 针对表【material】的数据库操作Service
* @createDate 2024-10-26 15:55:04
*/
public interface MaterialService extends IService<Material> {
    Page<Material> materialPageTransfer(Page<Material> tempPage);
    long addMaterial(MaterialAddRequest materialAddRequest, HttpServletRequest request);
    boolean updateMaterial(MaterialUpdateRequest materialUpdateRequest, HttpServletRequest request);
    boolean deleteMaterial(MaterialDeleteRequest materialDeleteRequest, HttpServletRequest request);
}
